/**
 * @file system.h
 * @author your name (you@domain.com)
 * @brief 
 * @version 0.1
 * @date 2025-01-13
 * 
 * @copyright Copyright (c) 2025
 * 
 */
#ifndef _SYSTEM_H
#define _SYSTEM_H

#include "stdint.h"

struct system_time
{
    uint32_t year;
    uint32_t month;
    uint32_t day;
    uint32_t hour;
    uint32_t min;
    uint32_t sec;
    uint32_t ms;
};
typedef struct system_time system_time_t;

extern void System_DevTime(system_time_t *time_info, uint64_t in_time_ms);
extern void System_Time(uint32_t *day_p, uint32_t *hour_p, uint32_t *minute_p, uint32_t *second_p, uint32_t (*System_TickGet)(void));


#endif
